package com.hongdee.crm.average.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by dell on 2017/6/8.
 */
@Entity
@Table(name = "T_CRM_AVERAGE_ACCIDENT")
public class TCrmAverageAccidentEntity extends BaseEntity {
    //预测年
    @Column(name = "year",length = 32,columnDefinition = "VARCHAR(32) COMMENT'预测年'")
    private String year;
    //车系
    @Column(name = "car_type",length = 32,columnDefinition = "VARCHAR(32) COMMENT'车系'")
    private String carType;
    //车龄
    @Column(name = "car_age",length = 32,columnDefinition = "VARCHAR(32) COMMENT'车龄'")
    private String carAge;
    //车牌
    @Column(name = "plate_num",length = 32,columnDefinition = "VARCHAR(32) COMMENT'车牌'")
    private String plateNum;
    //VIN
    @Column(name = "vin",length = 32,columnDefinition = "VARCHAR(32) COMMENT'车架号'")
    private String vin;
    //事故次数
    @Column(name = "accident_num",length = 32,columnDefinition = "VARCHAR(32) COMMENT'事故次数'")
    private String accidentNum;
    //维修次数
    @Column(name = "repair_num",length = 32,columnDefinition = "VARCHAR(32) COMMENT'维修次数'")
    private String repairNum;

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public String getCarAge() {
        return carAge;
    }

    public void setCarAge(String carAge) {
        this.carAge = carAge;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getAccidentNum() {
        return accidentNum;
    }

    public void setAccidentNum(String accidentNum) {
        this.accidentNum = accidentNum;
    }

    public String getRepairNum() {
        return repairNum;
    }

    public void setRepairNum(String repairNum) {
        this.repairNum = repairNum;
    }
}
